package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.controller.vo.voiceRoom.VoiceRoomStatisticDTO;
import com.qumitech.visualnovel.controller.vo.voiceRoom.VoiceRoomStatisticSearchConditionDTO;
import com.qumitech.visualnovel.model.dao.console.StreamerDataDO;
import java.util.HashMap;
import java.util.List;

public interface StreamerDataDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(StreamerDataDO record);

    int insertSelective(StreamerDataDO record);

    StreamerDataDO selectByPrimaryKey(Integer id);

    List<StreamerDataDO> getList(VoiceRoomStatisticSearchConditionDTO conditionDTO);
    Integer getCount(VoiceRoomStatisticSearchConditionDTO conditionDTO);

    int updateByPrimaryKeySelective(StreamerDataDO record);

    int updateByPrimaryKey(StreamerDataDO record);


    List<VoiceRoomStatisticDTO> ListByConditions(VoiceRoomStatisticSearchConditionDTO conditionDTO);

    Integer CountByConditions(VoiceRoomStatisticSearchConditionDTO conditionDTO);

    HashMap<String, Object> getTotalRoomNumAndBroadcastDuration(VoiceRoomStatisticSearchConditionDTO conditionDTO);

    Long getIncreasedRoomNum(VoiceRoomStatisticSearchConditionDTO conditionDTO);


}